package com.hisan.freeride.home.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.hisan.freeride.R;
import com.library.CustomTextView;


/**
 * 首页行程item
 */
public class HomeViewHolder extends RecyclerView.ViewHolder {
    public View item;
    public SimpleDraweeView simpleDraweeView;
    public CustomTextView status;
    public TextView name;
    public TextView plate;
    public TextView number;
    public TextView time;
    public TextView total;
    public TextView site;
    public TextView way;
    public TextView address;
    public ImageView expired;
    public View view;


    public HomeViewHolder(View itemView) {
        super(itemView);
        simpleDraweeView= itemView.findViewById(R.id.logo);
        status= (CustomTextView) itemView.findViewById(R.id.status);
        name= (TextView) itemView.findViewById(R.id.name);
        plate= (TextView) itemView.findViewById(R.id.plate);
        number=itemView.findViewById(R.id.number);
        time= (TextView) itemView.findViewById(R.id.time);
        total= (TextView) itemView.findViewById(R.id.total);
        site= (TextView) itemView.findViewById(R.id.site);
        way= (TextView) itemView.findViewById(R.id.way);
        address= (TextView) itemView.findViewById(R.id.address);
        expired=itemView.findViewById(R.id.expired);
        view=itemView.findViewById(R.id.view);

    }
}
